%%%-------------------------------------------------------------------
%%% @author Administrator
%%% @copyright (C) 2020, <COMPANY>
%%% @doc
%%%
%%% @end
%%% Created : 13. 1月 2020 14:24
%%%-------------------------------------------------------------------
-author("Administrator").
-define(Start_Link_TimeOut_ms, 19 * 1000).
-define(TCP_TIMEOUT,90 * 1000).

-define(CONNECT_TCP_OPTIONS, [binary, {packet, 0}, {active, false}]).
-define(TCP_OPTIONS, [binary, {packet, 0}, {active, once}, {send_timeout, 30000}, {send_timeout_close, true}, {exit_on_close, true}, {keepalive, true}]).
-define(LISTEN_TCP_OPTIONS, [binary, {packet, 0}, {reuseaddr, true}, {keepalive, true}, {backlog, 30}, {active, false}]).
-define(ACTIVE_TASK,6001).%激活任务
-define(DELETE_TASK,6002).%删除任务
-define(UPDATE_TASK,6003).%修改任务
-define(PLAYER_STATE,6004).%玩家状态
-define(PLAYER_GAME_ROOM_STATE,6005).%玩家房间状态
-define(KICKING,6006).%踢玩家下线




